package com.example.springbooteasycode.zjrc;

import java.util.Base64;

public class ToBase64 {
    public static void main(String[] args) {
        String input = "111";
        String encoded = Base64.getEncoder().encodeToString(input.getBytes());
        System.out.println("Base64编码结果：" + encoded);
    }
}
